package cn.enaium.message.repository;

import cn.enaium.message.entity.Collection;

import java.util.List;

public interface CollectionRepository {
    int save(Collection collection);
    int update(Collection collection);
    int deleteByuid(long uid);

    //查询
    List<Collection> findAll(long uid);
    Collection findByuId(long uid);


}
